home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
util
/
misc
/
Cmp_V1_4.lha
/
CMP
/
CMP.doc
< prev
next >
Wrap
Text File
|
1995-04-09
|
4KB
|
106 lines
CMP V1.4
This program is Freeware. That means that you may copy it as long as you
do not change anything on the documentation and the code.
This program needs at least OS 2.04 to run.
CMP is a useful tool to compare 2 files and display the differents between
them. I often needed such a tool but I couldn`t find one. Thats why I wrote
this utility.
How to use ?
To start CMP type "CMP [file1] [file2]" in the Shell or simply doubleclick
its icon from workbench.
Click the "load 1" and "load 2" gadgets to load 2 files and compare them
by pressing the the "compare" gadget. After a short time the files are
compared and now you can watch the differents by clicking the scrollbar or
the "Next Ln" , "Prev Ln" , "Next Pg" , "Prev Pg" , "Next Dif" , "Prev Dif"
gadgets.
NextLn - Jump to the next line.
Prev Ln - Jump to previous line.
Next Pg - Jump to next page.
Prev Pg - Jump to previous page.
Next Dif - Jump to next different.
Prev Dif - Jump to previous different.
If there is a differnt between two bytes of the files the backround is
marked blue.
To look for version-strings click the "Version" gadget. CMP will now
search for a string in the format "$VER: xxx ,0".
Please notice that if the "0" at the end of the string is not found the
string won`t be displayed. This often happens if you search in text or
AmigaGuide files.
If you click the "Info" gadget some informations about the size of the
files, their names, the number of differents and free memory will be given.
To quit CMP press the closegadget.
If you want to, you can use the menu and the keyboard instead of clicking
the gadgets.
Key functions are :
1 .................................. load file 1
2 ................................... load file 2
c ................................... compare the files
i ................................... informations
v ................................... search for version-strings
a ................................... about
cursor down ......................... next line
cursor up ........................... previous line
cursor right ........................ next byte
cursor left ......................... previous byte
shift cursor down ................... next page
shift cursor up ..................... previous page
ctrl cursor down .................... bottom
ctrl cursor up ...................... top
n ................................... next different
p ................................... previous different
escape .............................. quit
CMP makes use of the "reqtools.library" by Nico François. So make sure
you have installed it in your LIBS: Directory.
Simply doubleclick the "InstallRT"-Icon to install reqtools.library.
Do not hesitate to contact me if you find bugs or if you have ideas for
improving CMP.
Hope you`ll find this program useful.
My adress:
Andreas Wiencke
Hamburger Allee 98
19063 Schwerin
Germany
Phone: 0385/215778
Many thanx to Crazy Copper/DFT for his endless bugreports and suggestions.
History:
V1.0 * First official release.
V1.01 * CMP crashed when comparing very small files, bug removed.
V1.1 * CMP now sets topaz 8 font.
V1.2 * Info now showes the filenames, too.
* Changed the functions of some keys.
* Now its possible to jump to the next/previous byte.
* Looking for a version-string is now possible without comparing
the files. Its possible to look in one file only.
* Its easier to use the scrollbar now.
* CMP sometimes displayed wrong adresses, when the scrollbar was
used. Bug removed.
V1.3 * Files are now readed correctly even if the user does not select a
drawer in the filerequester.
* CMP looped endless when scrollbar was clicked once. Bug removed.
* Added a script to install reqtools.library.
V1.4 * CMP used to crash on some machines, fixed.
* Scrollbar now looks 3.0-alike.
* Menus now look 3.0-alike.